package com.refactor.Observed;

import java.awt.Frame;
import java.awt.TextField;
import java.awt.event.FocusAdapter;
import java.awt.event.FocusEvent;

public class IntervalWindow extends Frame{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	TextField _startField;
	TextField _endtField;
	TextField _lengthField;
	
	class Symfocus extends FocusAdapter{
		public void focusLost(FocusEvent event){
			Object object=event.getSource();
			if(object==_startField){
				
			}else if(object==_endtField){
				
			}else if(object==_lengthField){
				
			}
		}
		
	}
	public static void main(String[] args) {
		
		IntervalWindow fram=new IntervalWindow();
		fram._startField=new TextField();
		fram._endtField=new TextField();
		fram._lengthField=new TextField();
		fram.add(fram._startField);
		fram.add(fram._endtField);
		fram.add(fram._lengthField);
		fram.setSize(WIDTH, HEIGHT);
		fram.setName("sss");
		
		fram.show(true);
		
	}

}
